<template>
    <div>
     
<!--        <q-btn flat rounded color="primary" class="float-right" label="清空消息" @click="clearAllMsg"/>-->
    </div>
</template>

<script>
  export default {
    name: "NoticeList",
    data () {
      return {
        noticeMsgList: [
          {
            img: require('../../../assets/logo/60_60/11.png'),
            name: '',
            time: '2019-05-08 14:33:18',
            msg: '蒂姆·库克回复了你的邮件'
          },
          {
            img: require('../../../assets/logo/60_60/11.png'),
            name: '',
            time: '2019-05-08 14:33:18',
            msg: '乔纳森·伊夫邀请你参加会议'
          },
          {
            img: require('../../../assets/logo/60_60/11.png'),
            name: '',
            time: '2019-05-08 14:33:18',
            msg: '乔纳森·伊夫邀请你参加会议'
          },
          {
            img: require('../../../assets/logo/60_60/11.png'),
            name: '',
            time: '2019-05-08 14:33:18',
            msg: '乔纳森·伊夫邀请你参加会议'
          },
          {
            img: require('../../../assets/logo/60_60/11.png'),
            name: '',
            time: '2019-05-08 14:33:18',
            msg: '乔纳森·伊夫邀请你参加会议'
          },
          {
            img: require('../../../assets/logo/60_60/11.png'),
            name: '',
            time: '2019-05-08 14:33:18',
            msg: '乔纳森·伊夫邀请你参加会议'
          },
          {
            img: require('../../../assets/logo/60_60/11.png'),
            name: '',
            time: '2019-05-08 14:33:18',
            msg: '乔纳森·伊夫邀请你参加会议'
          },
          {
            img: require('../../../assets/logo/60_60/11.png'),
            name: '',
            time: '2019-05-08 14:33:18',
            msg: '乔纳森·伊夫邀请你参加会议'
          },
          {
            img: require('../../../assets/logo/60_60/11.png'),
            name: '',
            time: '2019-05-08 14:33:18',
            msg: '乔纳森·伊夫邀请你参加会议'
          },
          {
            img: require('../../../assets/logo/60_60/11.png'),
            name: '',
            time: '2019-05-08 14:33:18',
            msg: '乔纳森·伊夫邀请你参加会议'
          },
        ]
      }
    },
    props:{
      msgType:{}
    },
    methods: {
      clearAllMsg () {
        this.noticeMsgList = []
      }
    },
  }
</script>

<style scoped>
    .scroll-area-msg {
        height: 200px
    }

</style>
